package com.ittsang.service;

import com.ittsang.dto.ArticleDTO;
import com.ittsang.dto.PageDTO;
import com.ittsang.dto.R;

public interface ArticleService {
    R getArticle(PageDTO req);

    R getArticleByType(PageDTO req);

    R getArticleInfoById(Integer articleId);

    R deletedArticleById(Integer articleId);

    R alterArticleById(ArticleDTO articleDTO);

    R insertArticle(ArticleDTO articleDTO);

    R bannedArticleById(Integer articleId);

    R queryArticleTitle(PageDTO req);

    R getNotReviewedArticle(PageDTO pageDTO);

    R reviewedArticle(Integer articleId);

    R thumbsUp(Integer articleId);

    R unLike(Integer articleId);

    R collection(Integer articleId);

    R unFavorite(Integer articleId);

    R getUserArticle(PageDTO pageDTO);

    R getUserCartArticle(PageDTO pageDTO);

    R getUserLiketArticle(PageDTO pageDTO);

    R unReviewedArticle(Integer articleId);

    R getAuditArticle(PageDTO pageDTO);

    R getUserRecordArticle(PageDTO pageDTO);

    R deletedRecord();

}
